-
Notifications
You must be signed in to change notification settings - Fork 4.1k
AVNM UDR Management update to support RouteTableUsageMode #28670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release-network-2025-01-01
Are you sure you want to change the base?
AVNM UDR Management update to support RouteTableUsageMode #28670
Conversation
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for the RouteTableUsageMode
parameter to Azure Network Manager routing configuration cmdlets, allowing users to specify whether the configuration should use managed-only or existing route tables.
- Added
RouteTableUsageMode
parameter to bothNew-AzNetworkManagerRoutingConfiguration
andSet-AzNetworkManagerRoutingConfiguration
cmdlets - Updated the PowerShell model to include the new property with table view support
- Enhanced test coverage to validate the new parameter functionality across all cmdlet scenarios
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
SetAzNetworkManagerRoutingConfigurationCommand.cs | Added RouteTableUsageMode parameter with validation and conditional update logic |
NewAzNetworkManagerRoutingConfigurationCommand.cs | Added RouteTableUsageMode parameter with default value assignment and validation |
PSNetworkManagerRoutingConfiguration.cs | Added RouteTableUsageMode property with table view formatting |
ChangeLog.md | Added changelog entry documenting the new parameter |
NetworkManagerTests.ps1 | Comprehensive test coverage for all RouteTableUsageMode scenarios |
...Manager/NetworkManagerRoutingConfiguration/SetAzNetworkManagerRoutingConfigurationCommand.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.
...Manager/NetworkManagerRoutingConfiguration/SetAzNetworkManagerRoutingConfigurationCommand.cs
Show resolved
Hide resolved
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Description
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.